<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');
		
		echo $this->Html->css('bootstrap');
		echo $this->Html->css('bootstrap-responsive');
		echo $this->Html->css('bootstrap-wysihtml5');
		echo $this->Html->css('select2');
		echo $this->Html->css('jquery.dataTables');
		echo $this->Html->css('libreria');
		echo $this->Html->css('helper');
		echo $this->Html->css('famfamfam-flags');
		
		// inserisco qui il javascript del framework
		
		echo $this->Html->script('parser_rules/advanced');
		echo $this->Html->script('wysihtml5-0.3.0');
		echo $this->Html->script('jquery-1.9.1');
		echo $this->Html->script('bootstrap.min');
		echo $this->Html->script('bootstrap-wysihtml5');
		echo $this->Html->script('select2');
		echo $this->Html->script('jquery.dataTables.min');
		echo $this->Html->script('utility');
		//---------------
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
	<link href="//netdna.bootstrapcdn.com/font-awesome/3.1.0/css/font-awesome.css" rel="stylesheet">

</head>
<body>
	
	<div id="helper-modal" class="modal hide fade">
	  <div class="modal-body">
	    <p></p>
	  </div>
	  <div class="modal-footer">
	    <a href="#" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Ok</a>
	  </div>
	</div>
		<?php echo $this->element('bootstrap_top_menu'); ?> 				
	    <div class="container principale">
				<?php echo $this->element('bootstrap_message'); ?>
		    	<?php echo $this->fetch('content'); ?>
	    </div>
		<div id="footer">
			<p class="muted" align="center"><small>gestione Helper versione 1.1 </small></p>
		</div>
		<?php echo $this->Html->script('helper'); ?>
</body>
</html>
